<?php

namespace app\interfaces\model;

use think\Model;

class MemberOrderAttached extends Model
{
    public function getLabelAttr($value,$data){
        return db('shop_goods')->where('id',$data['goods_id'])->value('label');
    }
}
